WorkFlowPngWindow = Ext.extend(Ext.Window, {
    constructor : function(a) {
        Ext.applyIf(this, a);
        WorkFlowPngWindow.superclass.constructor.call(this, {
            layout : "fit",
            html : '<img src="'+__ctxPath + '/bpmndemo/viewImageWorkflow.do?deploymentId='+this.deploymentId+'&diagramResourceName='+this.diagramResourceName+'"></img>',
            modal : true,
            bodyStyle : "padding:2px;",
            buttonAlign : "center",
            title : "查看流程图",
            iconCls : "menu-flowWait",
            width : 600,
            height : 450
        });
    },

});